<?php

return array(
	'ajaxUpdate' => false,
	'searchColumns' => array(
		'sn',
//		'type' => array('dropDownList',Yii::app()->enum->options('order.receivables')),
		'selectTime' => array('dropDownList',Yii::app()->enum->options('selectTime')),
		'receiver'=> array('textField',
			'visible' => 'Yii::app()->adminUser->role == AdminUser::ROLE_OPERATOR',
		),
	),

	'dataColumns' => array(
		'order.sn',
		'receiver',
		'payer',
		'receiveable',
		'create_time',
		array(
			'class' => 'ButtonColumn',
			'header' => '操作',
			'template' => '{view}'
		),
	),
	'operates' => false,
	'_import' => array(
		array('*', 'actions.admin//*'),
	),
);
?>